package com.personal.portal.admin.service;

import com.personal.portal.common.entity.Result;
import com.personal.portal.admin.entity.Setting;

import java.util.List;

public interface SettingService {
    Setting queryById(Long id);

    Setting queryByEntity(Setting setting);

    List<Setting> queryList(Setting setting);

    Result.PageResult<Setting> queryPage(int pageNum, int pageSize, Setting setting);

    int insert(Setting setting);

    int update(Setting setting);

    int deleteById(Long id);

    List<Long> deleteBatch(List<Long> ids);
}